<?php

namespace pmvc\mvc\controller;

use pmvc\mvc\BaseRegexMapping;
use pmvc\ioc\ObjectFactory;
use pmvc\ioc\InitializingObject;
use pmvc\mvc\ControllerMapping;
use pmvc\mvc\Controller;
use pmvc\mvc\Request;
use pmvc\util\StringUtil;
use pmvc\util\ClassUtil;
use Exception;

class RegexControllerMapping 
	extends BaseRegexMapping 
	implements ControllerMapping {

	public function __construct() {
		parent::setRequiredType('pmvc\mvc\Controller');
	}

	public function getController($url, Request $request) {
		return parent::getMappedObject($url);
	}
}


?>